import Vue from 'vue'
import Router from 'vue-router'
import Index from '../page/index'
import WeProtect from '../page/weprotect'
import Advantage from '../page/advantage'
import FarmShow from '../page/farmshow'
import Contact from '../page/contact'
import 'element-ui/lib/theme-chalk/index.css'
import '../assets/css/animate.css'
import '../assets/css/animate.min.css'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component:Index
    },
    {
      path: '/protect',
      name: 'weprotect',
      component:WeProtect
    },
    {
      path: '/advantage',
      name: 'advantage',
      component:Advantage
    },
    {
      path: '/farmshow',
      name: 'farmshow',
      component:FarmShow
    },
    {
      path: '/contact',
      name: 'contact',
      component:Contact
    },
  ]
})
